package com.niiwoo.civet.mobile.vo.response.loan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 借款确认页面-还款详情
 * @Author:Lujing
 * @Date:2017/10/20
 */
@Setter
@Getter
@ApiModel(value = "借款确认页面-还款详情(砍头息)")
public class RepaymentPlanResponseVO {

    @ApiModelProperty(value = "当前期数", required = true)
    private Integer currentPeriod;

    @ApiModelProperty(value = "总期数", required = true)
    private Integer totalPeriod;

    @ApiModelProperty(value = "还款日期", required = true)
    private Date refundDate;

    @ApiModelProperty(value = "本金", required = true)
    private BigDecimal principal;

    @ApiModelProperty(value = "利息", required = true)
    private BigDecimal interest;

    @ApiModelProperty(value = "平台管理费", required = true)
    private BigDecimal platformManageFee;

    @ApiModelProperty(value = "担保服务费", required = true)
    private BigDecimal guaranteeServiceFee;

    @ApiModelProperty(value = "还款方式，1-到期还本息，2-等额本息", required = true)
    private Integer planType;

    @ApiModelProperty(value = "本息", required = true)
    private BigDecimal principalInterest;

    @ApiModelProperty(value = "每月还款总额(本金+利息+担保服务费+平台管理费)", required = true)
    private BigDecimal repaymentTotalAmount;
}
